package com.intellagric.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class Facility implements Serializable {
    private String id;

    private String facilityId;

    private String categoryId;

    private String facilityName;

    private String storageId;

    private String manufacturer;

    private String facilityNo;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date buyDate;

    private String manufactureNo;

    private String fixedAssetsNo;

    private String materialStorageId;

    private String supplierCompany;

    private String supplier;

    private String supplierMobile;

    private String afterSaleMobile;

    private String warrantyPeriod;

    private String status;

    private String buyer;

    private String supervisor;

    private String facilityParameter;

    private String remarks;

    private Date createDate;

    private String delFlag;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getFacilityId() {
        return facilityId;
    }

    public void setFacilityId(String facilityId) {
        this.facilityId = facilityId == null ? null : facilityId.trim();
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId == null ? null : categoryId.trim();
    }

    public String getFacilityName() {
        return facilityName;
    }

    public void setFacilityName(String facilityName) {
        this.facilityName = facilityName == null ? null : facilityName.trim();
    }

    public String getStorageId() {
        return storageId;
    }

    public void setStorageId(String storageId) {
        this.storageId = storageId == null ? null : storageId.trim();
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer == null ? null : manufacturer.trim();
    }

    public String getFacilityNo() {
        return facilityNo;
    }

    public void setFacilityNo(String facilityNo) {
        this.facilityNo = facilityNo == null ? null : facilityNo.trim();
    }

    public Date getBuyDate() {
        return buyDate;
    }

    public void setBuyDate(Date buyDate) {
        this.buyDate = buyDate;
    }

    public String getManufactureNo() {
        return manufactureNo;
    }

    public void setManufactureNo(String manufactureNo) {
        this.manufactureNo = manufactureNo == null ? null : manufactureNo.trim();
    }

    public String getFixedAssetsNo() {
        return fixedAssetsNo;
    }

    public void setFixedAssetsNo(String fixedAssetsNo) {
        this.fixedAssetsNo = fixedAssetsNo == null ? null : fixedAssetsNo.trim();
    }

    public String getMaterialStorageId() {
        return materialStorageId;
    }

    public void setMaterialStorageId(String materialStorageId) {
        this.materialStorageId = materialStorageId == null ? null : materialStorageId.trim();
    }

    public String getSupplierCompany() {
        return supplierCompany;
    }

    public void setSupplierCompany(String supplierCompany) {
        this.supplierCompany = supplierCompany == null ? null : supplierCompany.trim();
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier == null ? null : supplier.trim();
    }

    public String getSupplierMobile() {
        return supplierMobile;
    }

    public void setSupplierMobile(String supplierMobile) {
        this.supplierMobile = supplierMobile == null ? null : supplierMobile.trim();
    }

    public String getAfterSaleMobile() {
        return afterSaleMobile;
    }

    public void setAfterSaleMobile(String afterSaleMobile) {
        this.afterSaleMobile = afterSaleMobile == null ? null : afterSaleMobile.trim();
    }

    public String getWarrantyPeriod() {
        return warrantyPeriod;
    }

    public void setWarrantyPeriod(String warrantyPeriod) {
        this.warrantyPeriod = warrantyPeriod == null ? null : warrantyPeriod.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getBuyer() {
        return buyer;
    }

    public void setBuyer(String buyer) {
        this.buyer = buyer == null ? null : buyer.trim();
    }

    public String getSupervisor() {
        return supervisor;
    }

    public void setSupervisor(String supervisor) {
        this.supervisor = supervisor == null ? null : supervisor.trim();
    }

    public String getFacilityParameter() {
        return facilityParameter;
    }

    public void setFacilityParameter(String facilityParameter) {
        this.facilityParameter = facilityParameter == null ? null : facilityParameter.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }
}